<script setup>
import { onLaunch } from "@dcloudio/uni-app";
onLaunch(() => {
  // 获取胶囊按钮的高度
  let get_Menu = uni.getStorageSync("MenuButton");
  // 如果没有就获取
  if (!get_Menu) {
    const res = uni.getMenuButtonBoundingClientRect();
    uni.setStorageSync("MenuButton", res);
  }
});
</script>

<style>
/*每个页面公共css */
view {
  @apply box-border;
}

/* 骨架屏 */
.skeleton-view {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 999;
  overflow: hidden;
}
.skeleton-global {
  background: #f3f3f3;
  border-radius: 8rpx;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink {
  50% {
    opacity: 0.5;
  }
}
page {
  background-color: #f5f5f5;
}
.selectClass {
  @apply bg-blue-500 text-light-50 !important;
}
</style>
